package com.tongfusoft.base.data.tsm;

import java.util.Date;

import com.tongfusoft.web.core.annotation.LogDesc;
import com.tongfusoft.web.core.data.BaseData;

@LogDesc(expression = "userName", value = "用户角色")
public class TsmUserRole extends BaseData {
	/**
	 * 用户编号
	 */
	private String userId;
	/**
	 * 角色编号
	 */
	private String roleId;
	/**
	 * 状态[0:无效,1:有效]
	 */
	private String status;
	/**
	 * 编号
	 */
	private String id;

	@Override
	public String getPkName() {
		return "id";
	}

	@Override
	public String getTableName() {
		return "TSM_USER_ROLE";
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
